package PrototypePattern;

/**
 * @Author: zhaojie
 * @Date: Created in 13:24 2018/6/26
 * @Description: 创建扩展了上面抽象类的实体类。
 */
public class Rectangle extends Shape {

    public Rectangle() {
         type="Rectangle";
    }

    @Override
    public void draw() {
        System.out.println("Inside Rectangle::draw() method.");
    }
}
